package com.cskaoyan.bean.vo;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author JJ
 * @description Advertisement的listVo
 * @time 2021/7/8 22:34
 */

@Data
public class AdvertisementListVo {


        /**
         * id : 1
         * name : 合作 谁是你的菜
         * link : 11122234
         * url : http://yanxuan.nosdn.127.net/65091eebc48899298171c2eb6696fe27.jpg
         * position : 1
         * content : 合作谁是你的菜233
         * enabled : true
         * addTime : 2018-02-01 00:00:00
         * updateTime : 2021-07-08 22:17:33
         * deleted : false
         */

        private int id;
        private String name;
        private String link;
        private String url;
        private int position;
        private String content;
        private boolean enabled;
        private Date addTime;
        private Date updateTime;
        private boolean deleted;

        public AdvertisementListVo(int id, String name, String link, String url, int position, String content, boolean enabled, Date addTime, Date updateTime, boolean deleted) {
                this.id = id;
                this.name = name;
                this.link = link;
                this.url = url;
                this.position = position;
                this.content = content;
                this.enabled = enabled;
                this.addTime = addTime;
                this.updateTime = updateTime;
                this.deleted = deleted;
        }

        public AdvertisementListVo() {
        }
}
